﻿namespace EncoderCmdlet
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// An attribute that indicates that a property is a switch representing a preset
    /// </summary>
    sealed class PresetSwitch : Attribute
    {
        /// <summary>
        /// Initializes a new instance of the PresetSwitch class.
        /// </summary>
        public PresetSwitch()
        {
        }
    }

    /// <summary>
    /// An attribute that indicates that a property is a switch representing an Attribute
    /// </summary>
    sealed class TemplateSwitch : Attribute
    {
        /// <summary>
        /// Initializes a new instance of the TemplateSwitch class.
        /// </summary>
        /// <param name="propertyName">property name on the Templates collection that this template switch property this attribute is applied to maps to</param>
        public TemplateSwitch(string propertyName)
        {
            this.PropertyName = propertyName;
        }

        /// <summary>
        /// property name on the Templates collection that this template switch property this attribute is applied to maps to
        /// </summary>
        public string PropertyName
        {
            get;
            private set;
        }
    }
}
